<link href='/css/core/main.css' type="text/css" rel="stylesheet"/>
<link href='/css/biz/table.css' type="text/css" rel="stylesheet"/>
<link href='/css/biz/form.css' type="text/css" rel="stylesheet"/>
<link href='/fonts/hui_iconfont/iconfont.css' type="text/css" rel="stylesheet"/>
<link href='/js/core/Pagination/kkpager_orange.css' type="text/css" rel="stylesheet"/>
<link href='/js/jquery/jquery-ui-1.11.4.custom/jquery-ui.css' type="text/css" rel="stylesheet"/>
<link href='/js/core/fancybox/jquery.fancybox-1.3.4.css' type="text/css" rel="stylesheet"/>
<script src="/js/core/fancybox/jquery-1.7.1.js"></script>  
<script src="/js/core/Dropdownlist/chosen.jquery.js"></script> 
<script src="/js/core/Pagination/kkpager.min.js"></script> 
<script src="/js/biz/pagelist.js"></script> 
<script src="/js/core/DatePicker/WdatePicker.js"></script> 
<script src="/js/biz/custominput.js"></script> 
<script src="/js/core/Tooltip/tooltip.js"></script> 
<script src="/js/jquery/jquery-ui-1.11.4.custom/jquery-ui.js"></script> 
<script type="text/javascript" src="/js/core/Upload/uploadPreview.js"></script>
<script src="/js/biz/ajaxfun.js"></script> 
<script src='/js/ajaxupload/ajaxfileupload.js'></script>
<script src="/js/core/fancybox/jquery.fancybox-1.3.4.js"></script> 
<script src="/js/core/fancybox/jquery.fancybox-1.3.4.pack.js"></script> 
<script src="/js/biz/chargerList.js"></script>
<script src="/js/biz/imageUpload.js"></script>

    <!--页面部分-->  
    <div class="formtitle" style="width:600px;"><span>充电桩添加</span></div>
    <div class="search" style="width:600px; margin-left:10px;">
        
        <form action="" method="post" id="form">
            <input type="hidden" id="oldThumbImage"/>
        <p>
            
             <ul class="forminfo" width="600">
             <li>
                <label for="charger_num" class="label_input">充电桩编号<font class='red'>*</font></label>
                
                <input type="text" class="dfinput" id="charger_num" name="charger_num"/>
                
            </li>
            <li>
                <label for="length" class="label_input">长度<font class='red'>*</font></label>
                
                <input type="text" class="dfinput" id="length" name="length"/>
                
            </li>
            <li>
                <label for="width" class="label_input">宽度<font class='red'>*</font></label>
                
                <input type="text" class="dfinput" id="width" name="width"/>
                
            </li>
            <li>
                <label for="current_floor" class="label_input">所在楼层<font class='red'>*</font></label>
                <select class="dfselect" id="current_floor">
                <?php
                    if(isset($floorDetail)&&!empty($floorDetail)&&count($floorDetail)>0){
                        foreach ($floorDetail as $value) {
                ?>
                    <option value="<?php echo $value->floorId;?>"><?php echo $value->floorName;?></option>
                <?php
                    }}
                ?>
                </select>
            </li>
            <li>
                <label for="orient" class="label_input">当前朝向<font class='red'>*</font></label>
                
                <input type="text" class="dfinput" id="orient" name="orient"/>
                
            </li>
            <li>
                <label for="use_date" class="label_input">投入使用时间<font class='red'>*</font></label>
                <input type="text" readonly class="dfinput" id="use_date" name="use_date" onClick="WdatePicker()"/>
            </li>
            <li>
                <label for="charger_time" class="label_input">充电总时长<font class='red'>*</font></label>
                
                <input type="text" class="dfinput" id="charger_time" name="charger_time"/>
                
            </li>
            <li>
                <label for="coordinate" class="label_input">当前坐标<font class='red'>*</font></label>
                
                <input type="text" class="dfinput ninput" id="coordinate_x" placeholder="x" name="coordinate_x"/>
                <span style="position:relative">
                <div style="display:inline;width:25px;border:1px solid black;position:absolute;top:5px;left:-17px;border:1px solid #C6C6C6;"></div>
                </span>
                <input type="text" class="dfinput ninput" placeholder="y" id="coordinate_y" name="coordinate_y">
                
            </li>
            <li>
                <label for="electrical" class="label_input">电气规格<font class='red'>*</font></label>
                <div>
                    <table class="etable">
                        <tr>
                            <td>额定输入电压&nbsp;</td>
                            <td><input type="text" class=" einput" id="input_vol" name="input_vol"/></td>
                            <td>&nbsp;额定输出电压&nbsp;</td>
                            <td><input type="text" class=" einput" id="output_vol" name="output_vol"/></td>
                        </tr>
                        <tr>
                            <td>额定输入电流</td>
                            <td><input type="text" class=" einput" id="input_current" name="input_current"/></td>
                            <td>&nbsp;额定输出电流</td>
                            <td><input type="text" class=" einput" id="output_current" name="output_current"/></td>
                        </tr>
                    </table>
                </div>
                <!-- <input type="text" class="dfinput" id="skip_num" name="skip_num"/> -->
                
            </li>
            <li>
                <label for="work_state" class="label_input">工作状态<font class='red'>*</font></label>
                <div>
                    <table class="etable">
                        <tr>
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;输入电压&nbsp;</td>
                            <td><input type="text" class=" einput" id="voltage_in" name="voltage_in"/></td>
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;输出电压&nbsp;</td>
                            <td><input type="text" class=" einput" id="voltage_out" name="voltage_out"/></td>
                        </tr>
                        <tr>
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;输入电流</td>
                            <td><input type="text" class=" einput" id="current_in" name="current_in"/></td>
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;输出电流</td>
                            <td><input type="text" class=" einput" id="current_out" name="current_out"/></td>
                        </tr>
                    </table>
                </div>   
            </li>
            <li>
                <label for="image" class="label_input">图片<font class='red'>*</font></label>
                <!--  <div class="upload_file" id="imgdiv1" >上传图片</div> -->
                    <input type="file" class="" id="image" name="image" style="margin:7px 0 7px 0;" />
                    <div class="forminfo_div div_z" style="margin:5px 5px 10px 0;">
                        <img id="imgShow1" class="pic_z" src='' width="100" height="100" />
                    </div>
            </li>
            <li>
                <label class="label_input">&nbsp;</label>
                <input type="button" class="btn" id="btn_charger" value="提交" />
                <a href="" class="btn_back" id="btn_back">返回</a>
            </li>
        </ul>   
        </p>
        
        </form>
                
    </div>
  
